package com.itheima.pojo;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Table(name = "t_member")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Member implements Serializable {
    @Id
    private Integer id;

    @Column(name = "fileNumber")
    private String filenumber;

    private String name;

    private String sex;

    @Column(name = "idCard")
    private String idcard;

    @Column(name = "phoneNumber")
    private String phonenumber;

    @Column(name = "regTime")
    private Date regtime;

    private String password;

    private String email;

    private Date birthday;

    private String remark;

    private static final long serialVersionUID = 1L;
}